package com.micro.plugins.jwt.base;

import java.io.Serializable;

/**
 * 描述:JWT
 * 作者:LevelCoder
 * 邮箱:LevelCoder@126.com
 * 版本:V1.0.0
 * 时间:2018/4/13
 */
public class JWTInfo implements Serializable,JWTInfoInterface {

    /**
     *  客户名
     */
    private String customerName;

    /**
     * 客户编号
     */
    private String customerCode;

    /**
     * 客户类型
     */
    private String customerType;

    /**
     * 服务名称
     */
    private String serverName;

    /**
     * 服务版本号/api版本号
     */
    private String serverVersion;

    /**
     * 渠道类型
     */
    private String channelType;

    public JWTInfo(){}

    /**
     *
     * @param customerName
     * @param customerCode
     * @param customerType
     * @param serverName
     */
    public JWTInfo(String customerName, String customerCode, String customerType,String serverName,String serverVersion,String channelType) {
        this.customerName = customerName;
        this.customerCode = customerCode;
        this.customerType = customerType;
        this.serverName = serverName;
        this.serverVersion = serverVersion;
        this.channelType = channelType;
    }



    @Override
    public String getCustomerName() {
        return customerName;
    }

    @Override
    public String getCustomerCode() {
        return customerCode;
    }

    @Override
    public String getCustomerType() {
        return customerType;
    }

    @Override
    public String getServerName() {
        return serverName;
    }

    @Override
    public String getServerVersion() {
        return serverVersion;
    }

    @Override
    public String getChannelType() {
        return channelType;
    }
}
